package com.aaa.car.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * (CarType)实体类
 *
 * @author YuXin
 * @since 2020-11-19 19:35:40
 */
public class CarType implements Serializable {
    private static final long serialVersionUID = -37650231281021943L;

    private Integer id;
    /**
     * 类型名称
     */
    private String typeName;
    /**
     * 起价
     */
    private String startPrice;
    private String url;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")//处理接收参数
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")//处理返回参数
    private Object addtime;

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public String getStartPrice() {
        return startPrice;
    }

    public void setStartPrice(String startPrice) {
        this.startPrice = startPrice;
    }

    public Object getAddtime() {
        return addtime;
    }

    public void setAddtime(Object addtime) {
        this.addtime = addtime;
    }

}